package com.atguigu.edustatistics.Client.hystrix;

import com.atguigu.commonutils.R;
import com.atguigu.edustatistics.Client.StatisticsMemberCilent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author cyt
 * @create 2020-06-04 10:00
 */
@Slf4j
@Component
public class MemberHystrix implements StatisticsMemberCilent {
    @Override
    public R RegisterNumByDate(String day) {
        log.info("失败回调 " + day);
        return R.error();
    }
}
